package com.frejoys.common.dto.agent;

import com.frejoys.common.dto.common.IdDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author wangzhicheng
 * @version 1.0
 * @date 2024/4/30 9:38
 */
@Data
public class AgentUserUpdateDto extends IdDto {
    //代理人用户id
    @NotNull(message = "{600}")
    @Schema(type = "Long", name = "userId", description = "代理人用户id",  defaultValue = "1")
    private Long userId;

    //代理角色组id
    @Schema(type = "Integer", name = "agentRoleGroupId", description = "代理角色组id",  defaultValue = "1")
    private Integer agentRoleGroupId;
}
